package com.ruoyi.traplight.service;


import com.ruoyi.traplight.domain.TraplightDetectionLog;
import com.ruoyi.traplight.domain.SelectPhotoDao;


import java.io.IOException;

/**
 * @author Mr-Le
 */
public interface ModelService {

    /**
     *  新增图片检测信息
     * @param detectionLog 对象
     * @return
     */
    public int insertDetectionLog(TraplightDetectionLog detectionLog);

    public SelectPhotoDao drawByManual(Integer unitId,Integer id, String width, String height, String type, String position, Integer addOrCut) throws IOException;
    /**
     * 更新发送前端的对象，新增 检测结果 相关信息
     * @param webFrontEnd
     * @return
     */
//    public int updateWebFrontEnd(WebFrontEnd webFrontEnd);

}
